package com.woniu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.entity.AlarmMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.AlarmMessageVo;
import com.woniu.vo.MsgExcelVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
* @author Apricity
* @description 针对表【alarm_message(报警消息表)】的数据库操作Mapper
* @createDate 2025-02-13 20:16:58
* @Entity com.woniu.entity.AlarmMessage
*/
@Mapper
public interface AlarmMessageMapper extends BaseMapper<AlarmMessage> {

  /*  List<AlarmMessageVo> queryMsgInfoPage(@RequestParam("param") String param);*/
    IPage<AlarmMessageVo> queryMsgInfoPage(Page<AlarmMessageVo> page, @Param("param") String param);

    AlarmMessageVo queryMsgById(Long id);

    AlarmMessageVo selectByMsgId(Long id);

    List<MsgExcelVo> selectExcelVo();
}




